import dt from '@dt/dt'
import fitClassApi from '@/config/server/api/fitClass'
//达成数据列表
function getReachreachList(params) {
  return fitClassApi.getReachreachList.fetch(params)
}

//达成数据列表导出
function getReachreachListForExcel(params) {
  return fitClassApi.getReachreachListForExcel.fetch(params)
}
//填写达成数据先返回的初始化数据/已填写完的数据返回详情
function insertReachInfo(params) {
  return fitClassApi.insertReachInfo.fetch(params)
}
//达成数据录入
function getReachInsertReach(params) {
  return fitClassApi.getReachInsertReach.fetch(params)
}
//达成数据编辑
function updateReach(params) {
  return fitClassApi.updateReach.fetch(params)
}
//达成数据录入判断获取的可选择的年月和周
function getReachYearsAndWeek(params) {
  return fitClassApi.getReachYearsAndWeek.fetch(params)
}
export default {
  getReachreachList,
  getReachreachListForExcel,
  getReachInsertReach,
  getReachYearsAndWeek,
  insertReachInfo,
  updateReach
}